package com.ooqiu.gaming.utils;

import com.alibaba.android.arouter.facade.template.ILogger;
import com.orhanobut.logger.Logger;

/**
 * @author Eenie
 * @date 2017/12/11
 */

public class RouteLoger implements ILogger {

    @Override
    public void showLog(boolean isShowLog) {

    }

    @Override
    public void showStackTrace(boolean isShowStackTrace) {

    }

    @Override
    public void debug(String tag, String message) {
        Logger.d(message);
    }

    @Override
    public void info(String tag, String message) {
        Logger.i(message);
    }

    @Override
    public void warning(String tag, String message) {
        Logger.w(message);
    }

    @Override
    public void error(String tag, String message) {
        Logger.e(message);
    }

    @Override
    public void monitor(String message) {
        Logger.i(message);
    }

    @Override
    public boolean isMonitorMode() {
        return true;
    }

    @Override
    public String getDefaultTag() {
        return "Router";
    }
}
